		<h3>Viewing Tasks</h3>
        <h4>Active Tasks</h4>
		<table>
			<thead>
				<tr>
					<th>Task Name</th>
					<th>Project</th>
                    <th>Worker</th>
					<th>Status</th>
                    <th>View Details</th>
				</tr>
			</thead>
			<tbody>
		<?php
		$sql    = "SELECT tid,tname,tstatus,asstime FROM tasks";
		$query  = mysql_query($sql) or die(mysql_error());
		while($row = mysql_fetch_array($query)){
			print '<tr>';
				print '<td>'.$row['tname'].'</td>';
                print '<td> projectTest </td>';
                print '<td> MikeDroy </td>';
				print '<td>'.$row['tstatus'].'</td>';
                print '<td>'.$row['asstime'].'</td>';
				print '<td align="center"><a href="?c=view-task&id='.$row['tid'].'" title="View details about this task"><img src="images/page_edit.png" alt="Edit entry!" /></a></td>';
			print '</tr>';
		}
		?>
			</tbody>
		</table>